package com.dcbeida.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class CouponDrug {

    @SerializedName("couponcode")
    private String couponcode;
    @SerializedName("type")
    private String type;
    @SerializedName("truename")
    private String truename;
    @SerializedName("idcardnum")
    private String idcardnum;
    @SerializedName("phonenum")
    private String phonenum;
    @SerializedName("hospitalname")
    private String hospitalname;
    @SerializedName("doctorname")
    private String doctorname;
    @SerializedName("effecttime")
    private String effecttime;
    @SerializedName("expirationtime")
    private String expirationtime;
    @SerializedName("usestatus")
    private int usestatus;
    @SerializedName("hospitalid")
    private int hospitalid;
    @SerializedName("drugtotal")
    private int drugtotal;
    @SerializedName("list")
    private List<ListDTO> list;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCouponcode() {
        return couponcode;
    }

    public void setCouponcode(String couponcode) {
        this.couponcode = couponcode;
    }

    public String getTruename() {
        return truename;
    }

    public void setTruename(String truename) {
        this.truename = truename;
    }

    public String getIdcardnum() {
        return idcardnum;
    }

    public void setIdcardnum(String idcardnum) {
        this.idcardnum = idcardnum;
    }

    public String getPhonenum() {
        return phonenum;
    }

    public void setPhonenum(String phonenum) {
        this.phonenum = phonenum;
    }

    public String getHospitalname() {
        return hospitalname;
    }

    public void setHospitalname(String hospitalname) {
        this.hospitalname = hospitalname;
    }

    public String getDoctorname() {
        return doctorname;
    }

    public void setDoctorname(String doctorname) {
        this.doctorname = doctorname;
    }

    public String getEffecttime() {
        return effecttime;
    }

    public void setEffecttime(String effecttime) {
        this.effecttime = effecttime;
    }

    public String getExpirationtime() {
        return expirationtime;
    }

    public void setExpirationtime(String expirationtime) {
        this.expirationtime = expirationtime;
    }

    public int getUsestatus() {
        return usestatus;
    }

    public void setUsestatus(int usestatus) {
        this.usestatus = usestatus;
    }

    public int getHospitalid() {
        return hospitalid;
    }

    public void setHospitalid(int hospitalid) {
        this.hospitalid = hospitalid;
    }

    public Integer getDrugtotal() {
        return drugtotal;
    }

    public void setDrugtotal(int drugtotal) {
        this.drugtotal = drugtotal;
    }

    public List<ListDTO> getList() {
        return list;
    }

    public void setList(List<ListDTO> list) {
        this.list = list;
    }

    public static class ListDTO {
        @SerializedName("classname")
        private String classname;
        @SerializedName("alias")
        private String alias;
        @SerializedName("name")
        private String name;
        @SerializedName("spec")
        private String spec;
        @SerializedName("unit")
        private String unit;
        @SerializedName("price")
        private String price;
        @SerializedName("quantity")
        private int quantity;

        public String getClassname() {
            return classname;
        }

        public void setClassname(String classname) {
            this.classname = classname;
        }

        public String getAlias() {
            return alias;
        }

        public void setAlias(String alias) {
            this.alias = alias;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSpec() {
            return spec;
        }

        public void setSpec(String spec) {
            this.spec = spec;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public Integer getQuantity() {
            return quantity;
        }

        public void setQuantity(Integer quantity) {
            this.quantity = quantity;
        }
    }
}
